import PersonInfo from '@/views/练习：教学管理系统/个人信息/PersonInfo.vue'
import ClassArrange from "@/views/练习：教学管理系统/排课管理/ClassArrange.vue";
import SignUp from "@/views/练习：教学管理系统/各类报名/SignUp.vue";
import ClassClassify from "@/views/练习：教学管理系统/排课管理/ClassClassify.vue";
import PersonDetails from "@/views/练习：教学管理系统/个人信息/PersonDetails.vue";
import CheckPersonInfo from "@/views/练习：教学管理系统/个人信息/CheckPersonInfo.vue";
import CET from "@/views/练习：教学管理系统/各类报名/CET.vue";
import Computer from "@/views/练习：教学管理系统/各类报名/Computer.vue";
import Lectures from "@/views/练习：教学管理系统/各类报名/Lectures.vue";
import Professor from "@/views/练习：教学管理系统/各类报名/Professor.vue";
import Lab from "@/views/练习：教学管理系统/各类报名/Lab.vue";
import { createWebHistory, createRouter } from "vue-router";
import Classify from "@/views/练习：教学管理系统/各类报名/Classify.vue";
import Login from "@/views/练习：教学管理系统/登录界面/Login.vue"

export default createRouter({
    history: createWebHistory(),
    routes: [
        {
            name: 'gerenxinxi',
            path: '/info',
            component: PersonInfo,
            children: [
                {
                    name: 'gerenxinxi-1',
                    path: '/personInfo',
                    component: PersonDetails
                },
                {
                    name: 'heduixin',
                    path: '/checkInfo',
                    component: CheckPersonInfo
                }
            ]
        },
        {
            name: 'paikeguanli',
            path: '/arrange',
            component: ClassArrange
        },
        {
            name: 'geleibaoming',
            path: '/signup',
            component: SignUp,
        },
        {
            name: 'paikefenlei',
            path: '/classClassify',
            component: ClassClassify
        },
        {
            name: 'baomingfenlei',
            path: '/classify',
            component: Classify
        },
        {
            name: 'cet-signup',
            path: '/cet',
            component: CET
        },
        {
            name: 'computer-signup',
            path: '/computer',
            component: Computer
        },
        {
            name: 'lectures-signup',
            path: '/lectures',
            component: Lectures
        },
        {
            name: 'professor-signup',
            path: '/professor',
            component: Professor
        },
        {
            name: 'lab-signup',
            path: '/lab',
            component: Lab
        },
        {
            name: 'denglu',
            path: '/login',
            component: Login
        },
        {
            path: '/',
            redirect: '/login'
        }
    ]
})